package com.ljq.intemalcommon.constant;

import lombok.Data;


public enum CommonStatusEnum {

    /**
     * chenggong
     */
    SUCCESS(1,"success"),
    /**
     * shibai
     */
    FAIL(0,"fail");


    public int getCode() {
        return code;
    }

    public String getValue() {
        return value;
    }

    private int code;
    private String value;

    CommonStatusEnum(int code, String value) {
        this.code = code;
        this.value = value;
    }
}
